package com.ladybug.flow.modules.system.mapper;

import com.ladybug.flow.modules.system.domain.entitys.SysResources;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ladybug.flow.modules.system.domain.vo.MenuVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author long
* @description 针对表【sys_resources(系统资源表)】的数据库操作Mapper
* @createDate 2022-10-17 14:13:01
* @Entity com.ladybug.lowcode.modules.system.entitys.SysResources
*/
@Mapper
public interface SysResourcesMapper extends BaseMapper<SysResources> {

    List<MenuVO> getMenu();

    List<SysResources> getFirstMenu(String pid);
}




